#include "stdafx.h"
#include "C_InfoOut.h"


C_InfoOut C_InfoOut::mg_Debug;
C_DebugOut C_DebugOut::mg_Debug;



C_InfoOut::C_InfoOut()
{
}


C_InfoOut::~C_InfoOut()
{
}

void C_InfoOut::operator<<(const Mat4X4f & mat)
{
	cout << "Mat4X4f:" << &mat << endl;
	cout << "m00:" << mat.m00 << "  m01:" << mat.m01 << "  m02:" << mat.m02 << "  m03:" << mat.m03 << endl;
	cout << "m10:" << mat.m10 << "  m11:" << mat.m11 << "  m12:" << mat.m12 << "  m13:" << mat.m13 << endl;
	cout << "m20:" << mat.m20 << "  m21:" << mat.m21 << "  m22:" << mat.m22 << "  m23:" << mat.m23 << endl;
	cout << "m30:" << mat.m30 << "  m31:" << mat.m31 << "  m32:" << mat.m32 << "  m33:" << mat.m33 << endl;
}
void C_InfoOut::operator<<(const vec3 & vec)
{
	cout << "vec3:" << &vec << endl;
	cout << "x:" << vec.x << "  y:" << vec.y << "  z:" << vec.z << endl;
}

void C_InfoOut::operator<<(const vec2 & vec)
{
	cout << "vec2:" << &vec << endl;
	cout << "x:" << vec.x << "  y:" << vec.y  << endl;
}

void C_InfoOut::operator << (const ivec2& vec) {
	cout << "ivec2:" << &vec << endl;
	cout << "x:" << vec.x << "  y:" << vec.y << endl;
}

void C_InfoOut::operator << (const ui2_16& vec) {
	cout << "ui2_16:" << &vec << endl;
	cout << "x:" << vec.x << "  y:" << vec.y << endl;
}

void C_InfoOut::operator<<(const string& str)
{
	cout << " " << str.c_str();
}
